package com.culturalCenter.dataCenter.customEntity.site;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author ISMC
 * @since 2020/10/26 14:43
 */
@Data
@ApiModel("自定义场地Booking类")
public class CustomSiteBooking {

    /**
     * 场地Code
     */
    @ApiModelProperty(value = "场地Code")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String siteCode;
    /**
     * 场地名称
     */
    @ApiModelProperty(value = "场地名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String siteName;
    /**
     * 管理员信息
     */
    @ApiModelProperty(value = "管理员信息")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String manager;
    /**
     * 管理员联系电话
     */
    @ApiModelProperty(value = "管理员联系电话")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String phone;
    /**
     * 场地申请数
     */
    @ApiModelProperty(value = "场地申请数")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer bookingNum;
    /**
     * 场地状态
     */
    @ApiModelProperty(value = "场地状态")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer status;

    /**
     * 场地Id
     */
//    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "场地Id")
    private String bookingId;
    /**
     * 场地使用者
     */
//    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "场地使用者")
    private String siteUser;
    /**
     * 预约人单位
     */
    @ApiModelProperty(value = "预约人单位")
    private String applyUnit;
    /**
     * 预约人单位
     */
    @ApiModelProperty(value = "预约理由")
    private String applyCause;
    /**
     * 报警信息
     */
//    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "报警信息")
    private List<CustomSiteAlerts> alertsList;
    /**
     * 描述备注
     */
//    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "描述备注")
    private String remark;
    /**
     * 类型：2.外部预约 3.内部预约
     */
//    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "类型：2.外部预约 3.内部预约")
    private Integer userType;
    /**
     * 申请状态 0.待审批 1.通过 2.不通过
     */
//    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "申请状态 0.待审批 1.通过 2.不通过")
    private Integer examine;
    /**
     * 使用者联系电话
     */
//    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "使用者联系电话")
    private String mobile;
    /**
     * 用途
     */
//    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "用途")
    private String purpose;
    /**
     * 开始时间
     */
//    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;
    /**
     * 结束时间
     */
//    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    /**
     * 人数
     */
//    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty(value = "人数")
    private Integer peopleNum;
    /**
     * 活动/培训名
     */
    @ApiModelProperty(value = "活动/培训名")
    private String activityOrTrainingName;

    /**
     * 时间判断  1 为未来，-1为过去
     */
    @ApiModelProperty(value = "场地集合")
    private int timing;
}
